package com.cbank.domain;

import java.math.BigDecimal;

import com.cbank.utils.StringUtil;

public class User extends BaseEntity {


	public User() {
		super();
		this.id = 0l;
		this.viewId = 0l;
		this.name = StringUtil.EMPTY_STRING;
		this.pwd = StringUtil.EMPTY_STRING;
		this.status = STATUS_VALID;
		this.remark = StringUtil.EMPTY_STRING;
		this.canDownloadEachDay = 0l;
		this.token = StringUtil.EMPTY_STRING;
		this.balance = new BigDecimal("0");
	}

	private Long viewId;
	private Long canDownloadEachDay;
	private String name;
	private String pwd;
	private String token;
	private String remark;
	private BigDecimal balance;

	public Long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	public long getViewId() {
		return viewId;
	}
	public void setViewId(long viewId) {
		this.viewId = viewId;
	}
	public long getCanDownloadEachDay() {
		return canDownloadEachDay;
	}
	public void setCanDownloadEachDay(long canDownloadEachDay) {
		this.canDownloadEachDay = canDownloadEachDay;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getToken() {
		return token;
	}
	public void setToken(String token) {
		this.token = token;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public BigDecimal getBalance() {
		return balance;
	}
	public void setBalance(BigDecimal balance) {
		this.balance = balance;
	}

}
